NAME="smqtt"
sed -i '4i# Provides:	  '$NAME smqtt.init
sed -i 12iNAME=\'$NAME\' smqtt.init
mv smqtt.init /etc/init.d/$NAME
systemctl enable $NAME
sed -i 's/smqtt/'$NAME'/' start.py
cd ..
mv service /usr/local/$NAME